using UnityEngine;

public class FakeUpdateUser : MonoBehaviour
{
	public UIButton button;

	public UISprite sprite;

	public GGLeaderboardsPopulation leadPopulation;

	public void UpdateLeaderboards()
	{
		button.enabled = false;
		UITools.ChangeSprite(sprite, "button-plastic-red");
		leadPopulation.UpdateLeaderboards(delegate
		{
			button.enabled = true;
			UITools.ChangeSprite(sprite, "button-plastic-green");
		});
	}
}
